package cn.tedu.antconlonysever.contract.service;

import cn.tedu.antcolonycommons.pojo.vo.PageData;
import cn.tedu.antconlonysever.contract.pojo.param.LossAddNewParam;
import cn.tedu.antconlonysever.contract.pojo.param.LossUpdateParam;
import cn.tedu.antconlonysever.contract.pojo.vo.LossListVO;
import cn.tedu.antconlonysever.contract.pojo.vo.LossStandardVO;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface ILossService {
    void addNew(LossAddNewParam lossAddNewParam);
    void delete(Long id);
    void updateInfoById(long id, LossUpdateParam lossUpdateParam);
    LossStandardVO getStandardById(Long id);
    PageData<LossListVO> list(Integer pageNum);
    PageData<LossListVO> list(Integer pageNum,Integer pageSize);
}
